package com.dream.service.user.api.erp;

import com.dream.common.model.response.BaseListResponse;
import com.dream.common.model.response.BaseResponse;
import com.dream.service.user.domain.entity.User;
import com.dream.service.user.domain.model.UserModel;
import com.dream.service.user.domain.request.UserCondition;
import com.dream.service.user.domain.request.UserSelectCondition;

/**
 * Created by kangd on 2016/3/24.
 */
public interface UserServiceERP {
    /**
     * 管理用户，拉黑等
     * @param  user
     * @return
     */
    public BaseResponse<Boolean> managerUserInfo(User user);

    /**
     * 用户查询条件
     * @param userSelectCondition
     * @return
     */
    public BaseListResponse UserList(UserSelectCondition userSelectCondition);

    /**
     *  修改用户信息，目前只能用到修改是否小网红
     * @param model
     * @return
     */
    public BaseResponse<Boolean> updateUser(UserModel model);


    public BaseListResponse queryByCondition(UserCondition queryCondition);
}
